projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b35f337
)
prepare-root: remove ignored MS_MGC_VAL flag
author
Tristan Cacqueray
<tdecacqu@redhat.com>
Sun, 5 May 2019 03:33:35 +0000
(
03:33
+0000)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Sun, 5 May 2019 20:53:17 +0000
(20:53 +0000)
Since Linux 2.4 this is no longer required and the flag is ignored.
Closes: #1851
Approved by: cgwalters
src/switchroot/ostree-prepare-root.c
patch
|
blob
|
history
diff --git
a/src/switchroot/ostree-prepare-root.c
b/src/switchroot/ostree-prepare-root.c
index 15d49963b47aa3f595c97e0cf4ea9937a2de365b..3d6e78336943e60858b6abbd313d11946d47143c 100644
(file)
--- a/
src/switchroot/ostree-prepare-root.c
+++ b/
src/switchroot/ostree-prepare-root.c
@@
-182,7
+182,7
@@
main(int argc, char *argv[])
mount_var = true;
/* Link to the deployment's /var */
- if (mount_var && mount ("../../var", "var", NULL, MS_
MGC_VAL|MS_
BIND, NULL) < 0)
+ if (mount_var && mount ("../../var", "var", NULL, MS_BIND, NULL) < 0)
err (EXIT_FAILURE, "failed to bind mount ../../var to var");
char srcpath[PATH_MAX];